Skip to content

add pyproject.toml for numpy requirement#272

Merged
readbeyond merged 1 commit into
readbeyond:develfrom
valrus:master
Jul 25, 2026
Merged

add pyproject.toml for numpy requirement#272
readbeyond merged 1 commit into
readbeyond:develfrom
valrus:master

Conversation

@valrus

@valrus valrus commented Apr 16, 2021

Copy link
Copy Markdown

This PR adds a pyproject.toml file to address the need to manually install numpy before aeneas, which was preventing aeneas from installing correctly in a Heroku app.

I took the approach from this PR on a project with the same issue. Based on the comments on that PR, it should work for any version of pip above 10 and be harmless for lower versions. I tested it in a Heroku deploy and was able to install aeneas directly from a requirements.txt file.

@EthanShoeDev

Copy link
Copy Markdown

A recent update to setuptools broke this fix for me. I created a fork that fixes the issue by pinning setuptools to 75.8.x

@readbeyond

Copy link
Copy Markdown
Owner

@valrus please open the PR against the develop branch, not directly master. Also incorporate the #272 (comment) and test if setuptools must be pinned.

@readbeyond
readbeyond requested review from readbeyond and removed request for readbeyond July 22, 2026 16:37
Comment thread pyproject.toml
Comment thread MANIFEST.in
@readbeyond readbeyond added this to the 1.8.0 milestone Jul 22, 2026
@readbeyond
readbeyond changed the base branch from master to devel July 25, 2026 08:54
@readbeyond
readbeyond merged commit 3beea11 into readbeyond:devel Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants